<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>My Title</title>
</head>
<body>
<% 
java.util.Date d = new java.util.Date(); 
treqs.myConnection mc = new treqs.myConnection("com.mysql.jdbc.Driver","jdbc:mysql://localhost/treqs","treqs_developer","treqs");
treqs.treqsConnection tConn = new treqs.treqsConnection("com.mysql.jdbc.Driver","jdbc:mysql://localhost/treqs","treqs_developer","treqs"); 
treqs.ReqQuery req = new treqs.ReqQuery(tConn);
%>

<h1>
List of requirements
</h1>
<table width="85%" border="0" cellpadding="2" cellspacing="1" align="center">
<%= req.getTableHeaderRow() %>
<% 
String row = req.getNextTableRow();
while(row != null) { 
%>
<%= row.toString() %>
<%
row = req.getNextTableRow();
}
%>

</table>
</body>
</html>